/***************************************************************
*  Copyright (c) 2007 by GroupMe! Team (www.groupme.net)
*  All rights reserved.
*
*  This file is part of the GroupMe! Project. Source code of 
*  this project is closed and redistribution of this code is
*  prohibited. 
*  
*  Contact: http://www.groupme.net
*
*  This copyright notice MUST APPEAR in all copies of the file!
***************************************************************/
package net.groupme.exceptions;

/**
 * created on Jun 27, 2007
 * 
 * Exception that is thrown if the ID of an object is not present in the database.
 * 
 * @author Fabian Abel, <a href="mailto:abel@l3s.de">abel@l3s.de</a>
 * @author last edited by: $Author: fabian $
 * 
 * @version $Revision: 1.1 $ $Date: 2007-06-28 00:32:51 $
 */
public class IDNotFoundException extends Exception {

	/** generated UID */
	private static final long serialVersionUID = -9167452186275161955L;

	/**
	 * Creates a new IDNotFoundException instance. 
	 */
	public IDNotFoundException() {
		super("Could not find the data set with the given ID.");
	}

	/**
	 * Creates a new IDNotFoundException instance.
	 * @param message the error message
	 * @param source exception that caused this exception 
	 */
	public IDNotFoundException(String message, Throwable source) {
		super(message, source);
	}

	/**
	 * Creates a new SearchEngineException instance.
	 * @param message the error message
	 */
	public IDNotFoundException(String message) {
		super(message);
	}

	/**
	 * Creates a new IDNotFoundException instance.
	 * @param source exception that caused this exception 
	 */
	public IDNotFoundException(Throwable source) {
		super(source);
	}

}
